package chat;

import javax.swing.JFrame;

public class Test {
	public static void main(String[] args)
	{
		Client client=new Client();
		client.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		client.setSize(600,300);
		client.setVisible(true);
		if(args.length==0)
			client.startClient("localhost",5000);
		else 
			client.startClient(args[0],5000);
	}
}
